﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BestLifePOS_Core.Data.Commands;
using BestLifePOS_Core.DomainObjects;
namespace BestLifePOS_Core.Data.Fascade
{
   public class Vendor_BillDAO
    {

       public static string GetNewVendorPayId()
       {
           BestLifeGetNewVendorPayIdDataAction LvGet = new BestLifeGetNewVendorPayIdDataAction();
           return LvGet.execute();
       }

       public static List<Vendor_Bill> GetAllVendorBills()
       {
           BestLifeGetAllVendorBillsDataAction LvGet = new BestLifeGetAllVendorBillsDataAction();
           return LvGet.execute();
       }

       public static List<Vendor_Bill> GetVBillsById(string PCat)
       {
           BestLifeGetAllVendorBillsByVIDDataAction LvGet = new BestLifeGetAllVendorBillsByVIDDataAction(PCat);
           return LvGet.execute();
       }

       public static int SaveVendorPay(Vendor_Bill PVpay)
       {
           BestLifeInsertVendorPaymentsDataAction LvGet = new BestLifeInsertVendorPaymentsDataAction(PVpay);
           return LvGet.execute();
       }




    }
}
